package com.wtwd.device.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtwd.device.model.entity.DeviceBloodOxygen;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AppDeviceBloodOxygenMapper extends BaseMapper<DeviceBloodOxygen> {
    DeviceBloodOxygen getLastDeviceBloodOxygenByDeviceId(@Param("deviceId") Long deviceId);

    DeviceBloodOxygen getLastDeviceBloodOxygenByTotalId(@Param("totalId")Long totalId);
}
